/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"5560B9A8-BC7A-4ABF-B3C0-C0049529C425"}
 */
function modificar(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_TABLAS',JSWindow.MODAL_DIALOG)
	forms.tablas_cab_dtl.controller.show($win)
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"C7F3C842-3D48-4CBB-A81D-CF4FCEDB7B18"}
 */
function nuevo(event) {
	databaseManager.setAutoSave(false)
	var $win = application.createWindow('ALTA_TABLAS',JSWindow.MODAL_DIALOG)
	forms.tablas_cab_dtl.controller.newRecord()
	forms.tablas_cab_dtl.controller.show($win)
}
